﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateResume.ascx.cs"
    Inherits="Job.Web.userControls.Personal.CreateResume" %>
    <%@ Register Assembly="Job.Web" Namespace="Job.Web.RelatedDrowDownList" TagPrefix="cc1" %>
<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="750" class="ResumeBaseTable" align="left">
    <tr align="left">
        <td class="ResumeLabelTD">
            简历名称 <font color="#ec0000">*</font>
        </td>
        <td class="ResumeTD">
            <asp:TextBox ID="txtResumeName" runat="server" Width="200px" CssClass="TextBox" MaxLength="20"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfv1" runat="server" 
                ControlToValidate="txtResumeName" ErrorMessage="请输入简历名称"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr align="left">
        <td class="ResumeLabelTD">
            姓名 <font color="#ec0000">*</font>
        </td>
        <td class="ResumeTD">
            <asp:TextBox ID="txtUserName" runat="server" Width="200px" CssClass="TextBox" MaxLength="10"></asp:TextBox>
            <span id="ctl00_maincontent_ctl00_txtUserNameTip">
            <asp:RequiredFieldValidator ID="rfv2" runat="server" 
                ControlToValidate="txtUserName" ErrorMessage="请输入姓名"></asp:RequiredFieldValidator>
            </span>
        </td>
    </tr>
    <tr align="left">
        <td class="ResumeLabelTD">
            性别<span><font color="red">*</font></span>
        </td>
        <td class="ResumeTD">
            <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" >
                <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                <asp:ListItem Value="2">女</asp:ListItem>
            </asp:RadioButtonList>
            <asp:RequiredFieldValidator ID="rfv3" runat="server" 
                ControlToValidate="rblSex" ErrorMessage="请选择性别"></asp:RequiredFieldValidator>            
        </td>
    </tr>
    <tr align="left">
        <td class="ResumeLabelTD">
            户口所在地<span><font color="red">*</font></span>
        </td>
        <td class="ResumeTD">
            <asp:DropDownList ID="ddlHomeAddress1" runat="server" Width="200px">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlHomeAddress2" runat="server" Width="200px">
            </asp:DropDownList>
            <cc1:relatedlist id="HomeAddressRlist" runat="server"></cc1:relatedlist>
            <asp:RequiredFieldValidator ID="rfv4" runat="server" InitialValue="0" 
                ControlToValidate="ddlHomeAddress2" ErrorMessage="请选择户口所在地"></asp:RequiredFieldValidator>                 
        </td>
    </tr>
    <tr>
        <td align="left" class="ResumeLabelTD">
            当前所在地<span><font color="red">*</font></span>
        </td>
        <td align="left" class="ResumeTD">
            <asp:DropDownList ID="ddlResideAddress1" runat="server" Width="200px">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlResideAddress2" runat="server" Width="200px">
            </asp:DropDownList>
            <cc1:relatedlist id="ResideAddressRList" runat="server"></cc1:relatedlist>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" InitialValue="0" 
                ControlToValidate="ddlResideAddress2" ErrorMessage="请选择当前所在地"></asp:RequiredFieldValidator>                    
    </tr>
    <tr align="left">
        <td class="ResumeLabelTD">
            身份证号<span><font color="red">*</font></span>
        </td>
        <td valign="top" class="ResumeTD">
            <asp:TextBox ID="txtCardId" runat="server" Width="200px" CssClass="TextBox" MaxLength="18"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtCardId" ErrorMessage="请输入身份证号码"></asp:RequiredFieldValidator>  
            <asp:RegularExpressionValidator ID="rev1" runat="server" 
                ControlToValidate="txtCardId" ErrorMessage="请输入有效的身份证号" 
                ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator>

        </td>
    </tr>
    <tr>
        <td colspan="2" align="center">
            <asp:Button ID="btnSave" runat="server" Text=" 创建简历 " CssClass="btn_2k3" OnClick="btnSave_Click" />
        </td>
    </tr>
</table>
